<html>
<head>
</head>
<body>
<form method="POST" action="submitperson2.php">
    <p>This form allows you to test the insert person code that is used by the insert application.</p>
    <p><label for="surname">Surname: </label><input type="text" id="surname" name="surname"></p>
    <p><label for="firstname">First Names: </label><input type="text" id="firstname" name="firstname"></p>
    <p><label for="alsoknownas">Also Known As: </label><input type="text" id="alsoknownas" name="alsoknownas"></p>
    <p><label for="neename">Nee Name: </label><input type="text" id="neename" name="neename"></p>
    <p><label for="formername">Former Name: </label><input type="text" id="formername" name="formername"></p>
    <p><label for="deathdate">Death Date: </label><input type="text" id="deathdate" name="deathdate"></p>
    <p><label for="birthdate">Birth Date: </label><input type="text" id="birthdate" name="birthdate"></p>
    <p>Note: Dates from the Insert app are in this format: YYYY-MM-DD HH:MM:SS
    <p><label for="age">Age: </label><input type="text" id="age" name="age"></p>
    <p><label for="agemeasure">Age Measure: </label><input type="text" id="agemeasure" name="agemeasure"></p>
    <p>
        Country:
        <select name="country">
            <option value="412">New Zealand</option>
        </select>
    </p>
    <p>
        City/Town:
        <select name="citytown">
            <option value=""></option>
            <option value="191">Auckland</option>
            <option value="5562">Wellington</option>
            <option value="600">Christchurch</option>
            <option value="803">Dunedin</option>
        </select>
    </p>
    <p>
        Former City/Town:
        <select name="formercitytown">
            <option value=""></option>
            <option value="191">Auckland</option>
            <option value="5562">Wellington</option>
            <option value="600">Christchurch</option>
            <option value="803">Dunedin</option>
        </select>
    </p>
    <p><label for="charity">Charity: </label><input type="text" id="charity" name="charity"></p>
    <p>
        Funeral Home:
        <select name="funeralhome">
            <option value=""></option>
            <option value="212">sues funeral home</option>
            <option value="218">melissa</option>
        </select>
    </p>
    <p><label for="othernotes">Other Info: </label><input type="text" id="othernotes" name="othernotes"></p>
    <p><input type="submit" value="Add Person"></p>
</form>
<p>After you have added the person, you should see a number shown on the page. That number is the personid number.</p>
<p>Add that number here and open the beta remembrance page to check that the persons details properly display.</p>
<form method="GET" action="http://beta.amemorytree.co.nz/remembrance.php">
    <p>
        <label for="personid">remembrance.php?personid=</label>
        <input type="text" id="personid" name="personid">
        <input type="submit" value="Open remembrance page">
    </p>
</form>
<p>If a funeral home was entered for the person, a setting in their funeral home details called AddListingNotify specifies whether they receive an email or not. Currently all funeral homes have this set to true.</p>
</body>
</html>
